package com.zpark.mp.practice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author RZS
 * @since 2024-04-28
 */
@Getter
@Setter
@TableName("person")
public class Person implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /*@TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;*/

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;


}
